package com.zfc.mymall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zfc.common.utils.PageUtils;
import com.zfc.mymall.product.entity.AttrGroupEntity;
import com.zfc.mymall.product.vo.AttrGroupWithAttrsVo;
import com.zfc.mymall.product.vo.SpuItemAttrGroup;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author zfcer
 * @email scmail@mail.ustc.edu.cn
 * @date 2021-12-08 11:35:41
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrByCatelogId(Long catelogId);

    List<SpuItemAttrGroup> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);
}

